@8wave/ai-elements 0.124.0 → 0.125.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/_chunks/{Agent-BBWFD4nI.js → Agent-DZhK49jg.js} +99 -96
  2. package/dist/_chunks/Agent-DZhK49jg.js.map +1 -0
  3. package/dist/_chunks/{PkFilePreview-BwHe4-m1.js → PkFilePreview-C3R3jrNi.js} +31 -31
  4. package/dist/_chunks/{PkFilePreview-BwHe4-m1.js.map → PkFilePreview-C3R3jrNi.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreviewDialog-LWxNgkzk.js → PkFilePreviewDialog-BAKFOnPI.js} +2 -2
  6. package/dist/_chunks/{PkFilePreviewDialog-LWxNgkzk.js.map → PkFilePreviewDialog-BAKFOnPI.js.map} +1 -1
  7. package/dist/_chunks/{PkStreamingMarkdown-BvgO6aHe.js → PkStreamingMarkdown-BM-DSTPr.js} +3 -3
  8. package/dist/_chunks/{PkStreamingMarkdown-BvgO6aHe.js.map → PkStreamingMarkdown-BM-DSTPr.js.map} +1 -1
  9. package/dist/_chunks/{PkToolChatFile-OuaeZTxw.js → PkToolChatFile-DbeOmRPh.js} +3 -3
  10. package/dist/_chunks/{PkToolChatFile-OuaeZTxw.js.map → PkToolChatFile-DbeOmRPh.js.map} +1 -1
  11. package/dist/_chunks/{PkToolRequestGeolocation-C9PSITRU.js → PkToolRequestGeolocation-CCz4REP9.js} +2 -2
  12. package/dist/_chunks/{PkToolRequestGeolocation-C9PSITRU.js.map → PkToolRequestGeolocation-CCz4REP9.js.map} +1 -1
  13. package/dist/_chunks/{PkToolRequestOAuthConnection-CWi5SeCi.js → PkToolRequestOAuthConnection-BU-4Sm3z.js} +2 -2
  14. package/dist/_chunks/{PkToolRequestOAuthConnection-CWi5SeCi.js.map → PkToolRequestOAuthConnection-BU-4Sm3z.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowArtifact-BqgW3E6D.js → PkToolShowArtifact-utxGuLLt.js} +2 -2
  16. package/dist/_chunks/{PkToolShowArtifact-BqgW3E6D.js.map → PkToolShowArtifact-utxGuLLt.js.map} +1 -1
  17. package/dist/_chunks/PkToolShowCalendarEvent-DWtTo28t.js +148 -0
  18. package/dist/_chunks/PkToolShowCalendarEvent-DWtTo28t.js.map +1 -0
  19. package/dist/_chunks/{PkToolShowContactForm-DDDXopZp.js → PkToolShowContactForm-DTtE93D3.js} +2 -2
  20. package/dist/_chunks/{PkToolShowContactForm-DDDXopZp.js.map → PkToolShowContactForm-DTtE93D3.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowForm-D2LZ8Kkl.js → PkToolShowForm-I4pKopEI.js} +6 -6
  22. package/dist/_chunks/{PkToolShowForm-D2LZ8Kkl.js.map → PkToolShowForm-I4pKopEI.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowImageGallery-DAcW2Dau.js → PkToolShowImageGallery-skV87BlD.js} +2 -2
  24. package/dist/_chunks/{PkToolShowImageGallery-DAcW2Dau.js.map → PkToolShowImageGallery-skV87BlD.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowProductList-OYwQCHar.js → PkToolShowProductList-CcdOQoxf.js} +2 -2
  26. package/dist/_chunks/{PkToolShowProductList-OYwQCHar.js.map → PkToolShowProductList-CcdOQoxf.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowQrCode-e6DxEcWY.js → PkToolShowQrCode-DGMhVUbp.js} +28 -22
  28. package/dist/_chunks/PkToolShowQrCode-DGMhVUbp.js.map +1 -0
  29. package/dist/_chunks/{PkToolShowSources-DA4SOt-H.js → PkToolShowSources-DLmVS3bL.js} +3 -3
  30. package/dist/_chunks/{PkToolShowSources-DA4SOt-H.js.map → PkToolShowSources-DLmVS3bL.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowSuggestedReply-BTE7TZ4Z.js → PkToolShowSuggestedReply-Cv-WVCFN.js} +2 -2
  32. package/dist/_chunks/{PkToolShowSuggestedReply-BTE7TZ4Z.js.map → PkToolShowSuggestedReply-Cv-WVCFN.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowVideo-bTWeXtZd.js → PkToolShowVideo-D_K95gTR.js} +2 -2
  34. package/dist/_chunks/{PkToolShowVideo-bTWeXtZd.js.map → PkToolShowVideo-D_K95gTR.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowWebPages-DNbdkSSz.js → PkToolShowWebPages-DsfMacw-.js} +2 -2
  36. package/dist/_chunks/{PkToolShowWebPages-DNbdkSSz.js.map → PkToolShowWebPages-DsfMacw-.js.map} +1 -1
  37. package/dist/_chunks/{chatImagePolicy-C4jFnVQl.js → chatImagePolicy-BfgdFbm_.js} +2 -2
  38. package/dist/_chunks/{chatImagePolicy-C4jFnVQl.js.map → chatImagePolicy-BfgdFbm_.js.map} +1 -1
  39. package/dist/_chunks/{markdown-DDYeZICP.js → markdown-CrMYpY8l.js} +10 -10
  40. package/dist/_chunks/{markdown-DDYeZICP.js.map → markdown-CrMYpY8l.js.map} +1 -1
  41. package/dist/_chunks/{utils-euH8esYP.js → utils-CbhqxYyx.js} +57 -57
  42. package/dist/_chunks/utils-CbhqxYyx.js.map +1 -0
  43. package/dist/ai-elements.es.js +4310 -4198
  44. package/dist/ai-elements.es.js.map +1 -1
  45. package/dist-vue/PkChatbot.js +1 -1
  46. package/dist-vue/PkChatbotEmptyState.js +1 -1
  47. package/dist-vue/PkChatbotInput.js +1 -1
  48. package/dist-vue/PkChatbotMessages.js +1 -1
  49. package/dist-vue/PkChatbotStepPayload.js +1 -1
  50. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  51. package/dist-vue/PkChatbotSteps.js +1 -1
  52. package/dist-vue/PkChatbotViewChat.js +1 -1
  53. package/dist-vue/PkChatbotViewConversations.js +1 -1
  54. package/dist-vue/PkChatbotViewFiles.js +1 -1
  55. package/dist-vue/PkChatbotViewProfile.js +1 -1
  56. package/dist-vue/_chunks/{Agent-DQl-tv4S.js → Agent-BtXBSGy6.js} +34 -31
  57. package/dist-vue/_chunks/Agent-BtXBSGy6.js.map +1 -0
  58. package/dist-vue/_chunks/{Document-DXDifFZE.js → Document-DERAWuR0.js} +10 -10
  59. package/dist-vue/_chunks/{Document-DXDifFZE.js.map → Document-DERAWuR0.js.map} +1 -1
  60. package/dist-vue/_chunks/PkChatbot-CLOfTLQy.js +294 -0
  61. package/dist-vue/_chunks/PkChatbot-CLOfTLQy.js.map +1 -0
  62. package/dist-vue/_chunks/{PkChatbotEmptyState-CLOH5Z2d.js → PkChatbotEmptyState-C9aUiynZ.js} +2 -2
  63. package/dist-vue/_chunks/{PkChatbotEmptyState-CLOH5Z2d.js.map → PkChatbotEmptyState-C9aUiynZ.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotInput-BK7f1jFE.js → PkChatbotInput-Bs8nn-Jz.js} +154 -135
  65. package/dist-vue/_chunks/PkChatbotInput-Bs8nn-Jz.js.map +1 -0
  66. package/dist-vue/_chunks/PkChatbotMessages-BxkCGmqV.js +1039 -0
  67. package/dist-vue/_chunks/PkChatbotMessages-BxkCGmqV.js.map +1 -0
  68. package/dist-vue/_chunks/{PkChatbotStepPayload-D682n3VR.js → PkChatbotStepPayload-C45aVagz.js} +2 -2
  69. package/dist-vue/_chunks/{PkChatbotStepPayload-D682n3VR.js.map → PkChatbotStepPayload-C45aVagz.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotStepToolDetail-D5c8rqj9.js → PkChatbotStepToolDetail-B0tC33x6.js} +16 -16
  71. package/dist-vue/_chunks/{PkChatbotStepToolDetail-D5c8rqj9.js.map → PkChatbotStepToolDetail-B0tC33x6.js.map} +1 -1
  72. package/dist-vue/_chunks/PkChatbotSteps-MTSA_RrY.js +215 -0
  73. package/dist-vue/_chunks/PkChatbotSteps-MTSA_RrY.js.map +1 -0
  74. package/dist-vue/_chunks/{PkChatbotViewChat-D8depeWQ.js → PkChatbotViewChat-BwXOt2WW.js} +450 -446
  75. package/dist-vue/_chunks/PkChatbotViewChat-BwXOt2WW.js.map +1 -0
  76. package/dist-vue/_chunks/{PkChatbotViewConversations-B-dmLi-8.js → PkChatbotViewConversations-CtxE_a1O.js} +3 -3
  77. package/dist-vue/_chunks/{PkChatbotViewConversations-B-dmLi-8.js.map → PkChatbotViewConversations-CtxE_a1O.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkChatbotViewFiles-Du5AAS4v.js → PkChatbotViewFiles-B51zU374.js} +3 -3
  79. package/dist-vue/_chunks/{PkChatbotViewFiles-Du5AAS4v.js.map → PkChatbotViewFiles-B51zU374.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkChatbotViewProfile-UZrZdOyM.js → PkChatbotViewProfile-BSKRU7Ae.js} +2 -2
  81. package/dist-vue/_chunks/{PkChatbotViewProfile-UZrZdOyM.js.map → PkChatbotViewProfile-BSKRU7Ae.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkFilePreview-B54Dp_Rs.js → PkFilePreview-p-AGDrXi.js} +30 -30
  83. package/dist-vue/_chunks/{PkFilePreview-B54Dp_Rs.js.map → PkFilePreview-p-AGDrXi.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkFilePreviewDialog-QDPoZh1v.js → PkFilePreviewDialog-BpeeWS6d.js} +2 -2
  85. package/dist-vue/_chunks/{PkFilePreviewDialog-QDPoZh1v.js.map → PkFilePreviewDialog-BpeeWS6d.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkStreamingMarkdown-qnKwvrCg.js → PkStreamingMarkdown-DlcTV5je.js} +3 -3
  87. package/dist-vue/_chunks/{PkStreamingMarkdown-qnKwvrCg.js.map → PkStreamingMarkdown-DlcTV5je.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolChatFile-i0rHgFxB.js → PkToolChatFile-HWGjtuaT.js} +3 -3
  89. package/dist-vue/_chunks/{PkToolChatFile-i0rHgFxB.js.map → PkToolChatFile-HWGjtuaT.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolRequestGeolocation-SDzM1-Wl.js → PkToolRequestGeolocation-euI4VBVe.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolRequestGeolocation-SDzM1-Wl.js.map → PkToolRequestGeolocation-euI4VBVe.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DNrlGxMX.js → PkToolRequestOAuthConnection-DAAYyufP.js} +2 -2
  93. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DNrlGxMX.js.map → PkToolRequestOAuthConnection-DAAYyufP.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowArtifact-Dh4ogn6A.js → PkToolShowArtifact-C8OIF_sy.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowArtifact-Dh4ogn6A.js.map → PkToolShowArtifact-C8OIF_sy.js.map} +1 -1
  96. package/dist-vue/_chunks/PkToolShowCalendarEvent-CAejFLQI.js +148 -0
  97. package/dist-vue/_chunks/PkToolShowCalendarEvent-CAejFLQI.js.map +1 -0
  98. package/dist-vue/_chunks/{PkToolShowContactForm-BGTI1sio.js → PkToolShowContactForm-K6Z5MUXk.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowContactForm-BGTI1sio.js.map → PkToolShowContactForm-K6Z5MUXk.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkToolShowDiagram-xef3wJb0.js → PkToolShowDiagram-DrlGh_v6.js} +2 -2
  101. package/dist-vue/_chunks/{PkToolShowDiagram-xef3wJb0.js.map → PkToolShowDiagram-DrlGh_v6.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkToolShowForm-Crg4Kl6v.js → PkToolShowForm-DzsXJfOl.js} +6 -6
  103. package/dist-vue/_chunks/{PkToolShowForm-Crg4Kl6v.js.map → PkToolShowForm-DzsXJfOl.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowImageGallery-D9hdGBHK.js → PkToolShowImageGallery-sCyrPOIT.js} +2 -2
  105. package/dist-vue/_chunks/{PkToolShowImageGallery-D9hdGBHK.js.map → PkToolShowImageGallery-sCyrPOIT.js.map} +1 -1
  106. package/dist-vue/_chunks/{PkToolShowProductList-SC5aKDCw.js → PkToolShowProductList-DPDDeVu4.js} +2 -2
  107. package/dist-vue/_chunks/{PkToolShowProductList-SC5aKDCw.js.map → PkToolShowProductList-DPDDeVu4.js.map} +1 -1
  108. package/dist-vue/_chunks/PkToolShowQrCode-96KzD1rX.js +78 -0
  109. package/dist-vue/_chunks/PkToolShowQrCode-96KzD1rX.js.map +1 -0
  110. package/dist-vue/_chunks/{PkToolShowSources-Bf9_JwFL.js → PkToolShowSources-D4zjssdh.js} +3 -3
  111. package/dist-vue/_chunks/{PkToolShowSources-Bf9_JwFL.js.map → PkToolShowSources-D4zjssdh.js.map} +1 -1
  112. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BlcEfMx8.js → PkToolShowSuggestedReply-smfC1hlT.js} +2 -2
  113. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BlcEfMx8.js.map → PkToolShowSuggestedReply-smfC1hlT.js.map} +1 -1
  114. package/dist-vue/_chunks/{PkToolShowVideo-C2ITZDNo.js → PkToolShowVideo-C77DAqoZ.js} +2 -2
  115. package/dist-vue/_chunks/{PkToolShowVideo-C2ITZDNo.js.map → PkToolShowVideo-C77DAqoZ.js.map} +1 -1
  116. package/dist-vue/_chunks/{PkToolShowWebPages-BrefGxKQ.js → PkToolShowWebPages-D_tqGI6o.js} +2 -2
  117. package/dist-vue/_chunks/{PkToolShowWebPages-BrefGxKQ.js.map → PkToolShowWebPages-D_tqGI6o.js.map} +1 -1
  118. package/dist-vue/_chunks/{createChatbotApiClient-Bukf58dz.js → createChatbotApiClient-CO6l0P79.js} +87 -85
  119. package/dist-vue/_chunks/createChatbotApiClient-CO6l0P79.js.map +1 -0
  120. package/dist-vue/_chunks/{useChatbotStore-DcvdWkgq.js → useChatbotStore-CY1gAHOh.js} +1224 -1201
  121. package/dist-vue/_chunks/useChatbotStore-CY1gAHOh.js.map +1 -0
  122. package/dist-vue/_chunks/{utils-B0PnU1Rk.js → utils-CX4JuhXz.js} +66 -66
  123. package/dist-vue/_chunks/utils-CX4JuhXz.js.map +1 -0
  124. package/dist-vue/api.js +1 -1
  125. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -0
  126. package/dist-vue/composables.js +20 -8
  127. package/dist-vue/composables.js.map +1 -1
  128. package/dist-vue/index.js +3394 -3359
  129. package/dist-vue/index.js.map +1 -1
  130. package/dist-vue/locales.js +20 -4
  131. package/dist-vue/packages/components/src/chat/PkAgentPageAccessSettings.d.ts +5 -0
  132. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -2
  133. package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +10 -8
  134. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +11 -3
  135. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +2 -2
  136. package/dist-vue/packages/components/src/chat/PkFieldChanges.d.ts +15 -0
  137. package/dist-vue/packages/components/src/chat/PkHostCallConfirmCard.d.ts +1 -2
  138. package/dist-vue/packages/components/src/chat/index.d.ts +1 -1
  139. package/dist-vue/packages/components/src/chat/utils.d.ts +18 -0
  140. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +2 -0
  141. package/dist-vue/packages/composable/src/chatbot/appTools.d.ts +11 -5
  142. package/dist-vue/packages/composable/src/chatbot/fieldChanges.d.ts +56 -0
  143. package/dist-vue/packages/composable/src/chatbot/hostTools.d.ts +19 -0
  144. package/dist-vue/packages/composable/src/chatbot/index.d.ts +1 -0
  145. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +31 -4
  146. package/dist-vue/packages/models/src/schema/Agent.d.ts +50 -0
  147. package/dist-vue/packages/models/src/schema/Chat.d.ts +1 -0
  148. package/dist-vue/packages/models/src/schema/Organization.d.ts +9 -0
  149. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -0
  150. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -0
  151. package/dist-vue/style.css +1 -1
  152. package/package.json +1 -1
  153. package/dist/_chunks/Agent-BBWFD4nI.js.map +0 -1
  154. package/dist/_chunks/PkToolShowCalendarEvent-mVY2FS24.js +0 -148
  155. package/dist/_chunks/PkToolShowCalendarEvent-mVY2FS24.js.map +0 -1
  156. package/dist/_chunks/PkToolShowQrCode-e6DxEcWY.js.map +0 -1
  157. package/dist/_chunks/utils-euH8esYP.js.map +0 -1
  158. package/dist-vue/_chunks/Agent-DQl-tv4S.js.map +0 -1
  159. package/dist-vue/_chunks/PkChatbot-BRttF7Lo.js +0 -286
  160. package/dist-vue/_chunks/PkChatbot-BRttF7Lo.js.map +0 -1
  161. package/dist-vue/_chunks/PkChatbotInput-BK7f1jFE.js.map +0 -1
  162. package/dist-vue/_chunks/PkChatbotMessages-Ck0ofhtK.js +0 -1041
  163. package/dist-vue/_chunks/PkChatbotMessages-Ck0ofhtK.js.map +0 -1
  164. package/dist-vue/_chunks/PkChatbotSteps-CtKRHqaG.js +0 -189
  165. package/dist-vue/_chunks/PkChatbotSteps-CtKRHqaG.js.map +0 -1
  166. package/dist-vue/_chunks/PkChatbotViewChat-D8depeWQ.js.map +0 -1
  167. package/dist-vue/_chunks/PkToolShowCalendarEvent-BsAOYLjp.js +0 -148
  168. package/dist-vue/_chunks/PkToolShowCalendarEvent-BsAOYLjp.js.map +0 -1
  169. package/dist-vue/_chunks/PkToolShowQrCode-skWaARYV.js +0 -72
  170. package/dist-vue/_chunks/PkToolShowQrCode-skWaARYV.js.map +0 -1
  171. package/dist-vue/_chunks/createChatbotApiClient-Bukf58dz.js.map +0 -1
  172. package/dist-vue/_chunks/useChatbotStore-DcvdWkgq.js.map +0 -1
  173. package/dist-vue/_chunks/utils-B0PnU1Rk.js.map +0 -1
@@ -51,13 +51,13 @@ var S = n({
51
51
  ]),
52
52
  width: s().int().positive().nullable(),
53
53
  height: s().int().positive().nullable()
54
- }), C = n({
54
+ }), se = n({
55
55
  [x.LogoLight]: S.nullable(),
56
56
  [x.LogoDark]: S.nullable(),
57
57
  [x.Mark]: S.nullable(),
58
58
  [x.EmailLogo]: S.nullable(),
59
59
  [x.EmailBanner]: S.nullable()
60
- }), w = n({
60
+ }), C = n({
61
61
  productName: i().trim().min(1).max(60),
62
62
  shortName: i().trim().min(1).max(24),
63
63
  description: i().trim().max(200).nullable(),
@@ -67,42 +67,42 @@ var S = n({
67
67
  n({
68
68
  colors: y,
69
69
  mode: u(b),
70
- assets: C,
71
- text: w
70
+ assets: se,
71
+ text: C
72
72
  }).extend({ version: i() });
73
- var se = n({ css: i() }), T = C.partial(), E = w.partial().extend({
74
- productName: w.shape.productName.nullish(),
75
- shortName: w.shape.shortName.nullish()
76
- }), ce = n({
73
+ var ce = n({ css: i() }), w = se.partial(), T = C.partial().extend({
74
+ productName: C.shape.productName.nullish(),
75
+ shortName: C.shape.shortName.nullish()
76
+ }), le = n({
77
77
  colors: y.nullish(),
78
78
  mode: u(b).nullish(),
79
- assets: T.nullish(),
80
- text: E.nullish()
79
+ assets: w.nullish(),
80
+ text: T.nullish()
81
81
  });
82
82
  n({
83
- patch: ce,
83
+ patch: le,
84
84
  revision: i().min(1).max(64)
85
85
  });
86
- var D = (e) => e.optional().catch(void 0);
86
+ var E = (e) => e.optional().catch(void 0);
87
87
  n({
88
- colors: D(y.nullable()),
89
- mode: D(u(b).nullable()),
90
- assets: D(n({
91
- [x.LogoLight]: D(T.shape.logoLight),
92
- [x.LogoDark]: D(T.shape.logoDark),
93
- [x.Mark]: D(T.shape.mark),
94
- [x.EmailLogo]: D(T.shape.emailLogo),
95
- [x.EmailBanner]: D(T.shape.emailBanner)
88
+ colors: E(y.nullable()),
89
+ mode: E(u(b).nullable()),
90
+ assets: E(n({
91
+ [x.LogoLight]: E(w.shape.logoLight),
92
+ [x.LogoDark]: E(w.shape.logoDark),
93
+ [x.Mark]: E(w.shape.mark),
94
+ [x.EmailLogo]: E(w.shape.emailLogo),
95
+ [x.EmailBanner]: E(w.shape.emailBanner)
96
96
  }).nullable()),
97
- text: D(n({
98
- productName: D(E.shape.productName),
99
- shortName: D(E.shape.shortName),
100
- description: D(E.shape.description),
101
- productTagline: D(E.shape.productTagline),
102
- companyName: D(E.shape.companyName)
97
+ text: E(n({
98
+ productName: E(T.shape.productName),
99
+ shortName: E(T.shape.shortName),
100
+ description: E(T.shape.description),
101
+ productTagline: E(T.shape.productTagline),
102
+ companyName: E(T.shape.companyName)
103
103
  }).nullable())
104
- }), O({
105
- ...O({
104
+ }), D({
105
+ ...D({
106
106
  colors: {
107
107
  light: {
108
108
  brand: "#140e33",
@@ -139,15 +139,15 @@ n({
139
139
  companyName: null
140
140
  }
141
141
  });
142
- function O(e) {
142
+ function D(e) {
143
143
  if (e && typeof e == "object") {
144
- for (let t of Object.values(e)) O(t);
144
+ for (let t of Object.values(e)) D(t);
145
145
  Object.freeze(e);
146
146
  }
147
147
  return e;
148
148
  }
149
149
  // ../../packages/models/src/schema/DeviceContext.ts
150
- var le = n({
150
+ var ue = n({
151
151
  dateTime: i().optional(),
152
152
  timezone: i().optional(),
153
153
  language: i().optional(),
@@ -177,16 +177,16 @@ var le = n({
177
177
  geolocationLongitude: s().optional(),
178
178
  geolocationAccuracy: s().optional(),
179
179
  geolocationCity: i().optional()
180
- }), ue = "host", k = /^[a-z][a-z0-9_]{0,63}$/, de = 2e3, fe = n({
180
+ }), de = "host", O = /^[a-z][a-z0-9_]{0,63}$/, fe = 2e3, pe = n({
181
181
  title: i().max(80).optional(),
182
182
  readOnlyHint: d().optional(),
183
183
  destructiveHint: d().optional()
184
184
  });
185
185
  n({
186
- name: i().regex(k),
187
- description: i().max(de).optional(),
186
+ name: i().regex(O),
187
+ description: i().max(fe).optional(),
188
188
  inputSchema: h(i(), t()).refine((e) => e.type === "object", { message: "The input schema must describe an object" }),
189
- annotations: fe.optional()
189
+ annotations: pe.optional()
190
190
  }), n({
191
191
  content: c(n({
192
192
  type: l("text"),
@@ -194,33 +194,33 @@ n({
194
194
  })),
195
195
  isError: d().optional()
196
196
  });
197
- var pe = n({
197
+ var me = n({
198
198
  enabled: d().default(!1),
199
199
  label: i().max(40).default(""),
200
- allowed: c(i().regex(k)).max(32).default([]),
201
- requireConfirmation: c(i().regex(k)).default([]),
200
+ allowed: c(i().regex(O)).max(32).default([]),
201
+ requireConfirmation: c(i().regex(O)).default([]),
202
202
  confirmDestructive: d().default(!0),
203
203
  timeoutMs: s().int().min(5e3).max(12e4).default(3e4),
204
204
  maxCallsPerTurn: s().int().min(1).max(50).default(20)
205
- }), me = pe.pick({
205
+ }), he = me.pick({
206
206
  label: !0,
207
207
  allowed: !0,
208
208
  requireConfirmation: !0,
209
209
  confirmDestructive: !0,
210
210
  timeoutMs: !0
211
- }).extend({ origins: c(i()) }), he = (e) => {
211
+ }).extend({ origins: c(i()) }), ge = (e) => {
212
212
  if (typeof e != "object" || !e) return !1;
213
213
  let { type: t, toolMetadata: n } = e;
214
214
  return t === "dynamic-tool" && n?.source === "host";
215
- }, ge = (e) => e ? "No result: the host app did not answer this call." : "Outcome unknown: the host app did not confirm this call. Check the current state with a read tool before repeating it.", _e = "The user refused this call. Do not repeat it unless the user asks.", A = /* @__PURE__ */ function(e) {
215
+ }, _e = (e) => e ? "No result: the host app did not answer this call." : "Outcome unknown: the host app did not confirm this call. Check the current state with a read tool before repeating it.", ve = "The user refused this call. Do not repeat it unless the user asks.", k = /* @__PURE__ */ function(e) {
216
216
  return e.Off = "off", e.Read = "read", e.Forms = "forms", e.Full = "full", e;
217
- }({}), ve = [
218
- A.Off,
219
- A.Read,
220
- A.Forms,
221
- A.Full
222
- ], ye = (e, t) => ve.indexOf(e ?? A.Off) >= ve.indexOf(t);
223
- function be(e) {
217
+ }({}), ye = [
218
+ k.Off,
219
+ k.Read,
220
+ k.Forms,
221
+ k.Full
222
+ ], be = (e, t) => ye.indexOf(e ?? k.Off) >= ye.indexOf(t);
223
+ function xe(e) {
224
224
  if (!e.trim()) return !1;
225
225
  if (typeof document > "u") return !0;
226
226
  try {
@@ -229,21 +229,21 @@ function be(e) {
229
229
  return !1;
230
230
  }
231
231
  }
232
- var xe = n({
233
- level: u(A).default(A.Off),
234
- excludeSelectors: c(i().max(200).refine(be, "Not a valid CSS selector")).max(50).default([]),
232
+ var Se = n({
233
+ level: u(k).default(k.Off),
234
+ excludeSelectors: c(i().max(200).refine(xe, "Not a valid CSS selector")).max(50).default([]),
235
235
  confirmEveryAction: d().default(!1),
236
236
  pointer: d().default(!1),
237
237
  notice: h(i(), i().max(500)).optional(),
238
238
  acknowledgedBy: i().optional(),
239
239
  acknowledgedAt: f().optional(),
240
- acknowledgedLevel: u(A).optional()
241
- }), Se = (e) => e.startsWith("page_") || e.startsWith("form_"), Ce = xe.pick({
240
+ acknowledgedLevel: u(k).optional()
241
+ }), Ce = (e) => e.startsWith("page_") || e.startsWith("form_"), we = Se.pick({
242
242
  level: !0,
243
243
  excludeSelectors: !0,
244
244
  confirmEveryAction: !0,
245
245
  notice: !0
246
- }).extend({ pointer: d().optional() }), we = ["fill-fields", "fill-choose"];
246
+ }).extend({ pointer: d().optional() }), Te = ["fill-fields", "fill-choose"];
247
247
  n({
248
248
  kind: u(["element", "text"]),
249
249
  label: i().max(200),
@@ -260,7 +260,7 @@ n({
260
260
  features: c(i().max(40)).max(16).default([])
261
261
  });
262
262
  // ../../packages/models/src/schema/Media.ts
263
- var j = /^[a-z]+\/[a-z0-9\-+.]+$/i, Te = new Set([
263
+ var A = /^[a-z]+\/[a-z0-9\-+.]+$/i, Ee = new Set([
264
264
  [".mp3", "audio/mpeg"],
265
265
  [".m4a", "audio/mp4"],
266
266
  [".m4a", "audio/x-m4a"],
@@ -273,7 +273,7 @@ var j = /^[a-z]+\/[a-z0-9\-+.]+$/i, Te = new Set([
273
273
  [".opus", "audio/ogg"],
274
274
  [".flac", "audio/flac"],
275
275
  [".flac", "audio/x-flac"]
276
- ].map(([e]) => e)), Ee = /* @__PURE__ */ new Set([
276
+ ].map(([e]) => e)), De = /* @__PURE__ */ new Set([
277
277
  ".amr",
278
278
  ".3ga",
279
279
  ".aif",
@@ -283,9 +283,9 @@ var j = /^[a-z]+\/[a-z0-9\-+.]+$/i, Te = new Set([
283
283
  ".mka",
284
284
  ".weba",
285
285
  ".wma"
286
- ]), De = (e) => e?.split(";")[0]?.trim().toLowerCase() ?? "", Oe = (e, t) => {
286
+ ]), j = (e) => e?.split(";")[0]?.trim().toLowerCase() ?? "", Oe = (e, t) => {
287
287
  let n = Ue(e ?? "");
288
- return De(t).startsWith("audio/") || Te.has(n) || Ee.has(n);
288
+ return j(t).startsWith("audio/") || Ee.has(n) || De.has(n);
289
289
  }, M = [
290
290
  {
291
291
  extensions: [".html", ".htm"],
@@ -449,7 +449,7 @@ var ke = (e) => M.filter((t) => e.includes(t.mimeType)).flatMap((e) => e.extensi
449
449
  "text/plain",
450
450
  ...n.flatMap((e) => e.aliases)
451
451
  ] : []);
452
- return e.length > 0 && e.every((e) => r.has(De(e)) || t.some((t) => e.includes(t)));
452
+ return e.length > 0 && e.every((e) => r.has(j(e)) || t.some((t) => e.includes(t)));
453
453
  };
454
454
  n({
455
455
  status: u([
@@ -478,7 +478,7 @@ var je = /* @__PURE__ */ function(e) {
478
478
  }), Pe = p("type", [Me, Ne]), N = n({
479
479
  type: i().min(1),
480
480
  name: i().min(1),
481
- mimeType: i().regex(j),
481
+ mimeType: i().regex(A),
482
482
  bytesCount: s().positive(),
483
483
  extension: i().regex(/^\.[a-zA-Z0-9]+$/).overwrite((e) => e.toLowerCase()),
484
484
  storedFileName: i().optional(),
@@ -889,7 +889,7 @@ var X = n({
889
889
  ], At = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", jt = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", Z = n({
890
890
  enabled: d().default(!1),
891
891
  maxFileSizeBytes: s().int().positive().max(104857600).optional().default(20971520),
892
- allowedMimeTypes: c(i().regex(j)).optional().default([...kt]),
892
+ allowedMimeTypes: c(i().regex(A)).optional().default([...kt]),
893
893
  maxFilesPerMessage: s().int().positive().max(10).optional().default(5),
894
894
  maxFilesPerChat: s().int().positive().max(50).optional().default(20)
895
895
  }), Q = n({
@@ -917,28 +917,29 @@ var X = n({
917
917
  providerAgentId: i().optional(),
918
918
  providerSecretId: i().optional(),
919
919
  providerApiKeyId: i().optional()
920
- }), It = n({ enabled: d() });
920
+ }), It = n({ enabled: d() }), Lt = l("automatic");
921
921
  n({
922
922
  chatId: i().min(1).optional(),
923
- deviceContext: le.optional(),
923
+ deviceContext: ue.optional(),
924
924
  externalContext: h(i(), t()).optional(),
925
- pageTools: t().optional()
925
+ pageTools: t().optional(),
926
+ confirmations: Lt.optional()
926
927
  });
927
- var Lt = n({
928
+ var Rt = n({
928
929
  sessionId: i(),
929
930
  signedUrl: i(),
930
931
  providerAgentId: i(),
931
932
  chatId: i(),
932
933
  maxSessionSeconds: s().int()
933
- }), Rt = n({
934
+ }), zt = n({
934
935
  voiceId: i(),
935
936
  name: i(),
936
937
  category: i().optional(),
937
938
  previewUrl: i().optional(),
938
939
  labels: h(i(), i()).optional()
939
940
  });
940
- c(Rt);
941
- var zt = n({
941
+ c(zt);
942
+ var Bt = n({ allowAutomatic: d().default(!1) }), Vt = n({ allowAutomatic: l(!0) }), $ = n({
942
943
  model: Ct,
943
944
  interface: X,
944
945
  tools: St.optional().default(() => St.parse({})),
@@ -949,9 +950,10 @@ var zt = n({
949
950
  openaiApi: Mt.optional().default(() => Mt.parse({})),
950
951
  voice: Ft.optional().default(() => Ft.parse({})),
951
952
  toolWorkingSet: Pt.optional().default(() => Pt.parse({})),
952
- hostTools: pe.optional(),
953
- pageAccess: xe.optional()
954
- }), $ = n({
953
+ hostTools: me.optional(),
954
+ pageAccess: Se.optional(),
955
+ confirmations: Bt.optional()
956
+ }), Ht = n({
955
957
  rateLimits: n({
956
958
  minuteRateLimit: s().int().min(0).optional(),
957
959
  hourRateLimit: s().int().min(0).optional(),
@@ -968,8 +970,8 @@ n({
968
970
  fallbackModels: c(i()).default([]),
969
971
  status: u(F).default(F.Draft),
970
972
  visibility: u(I).default(I.Organization),
971
- settings: zt,
972
- security: $.nullish(),
973
+ settings: $,
974
+ security: Ht.nullish(),
973
975
  type: u(L).default(L.Chat),
974
976
  organizationId: i()
975
977
  }), o(() => n({
@@ -980,8 +982,8 @@ n({
980
982
  fallbackModels: c(i()).nullable().default([]),
981
983
  status: u(F).default(F.Draft),
982
984
  visibility: u(I).default(I.Organization),
983
- settings: zt,
984
- security: $.nullable(),
985
+ settings: $,
986
+ security: Ht.nullable(),
985
987
  type: u(L).default(L.Chat),
986
988
  organizationId: i(),
987
989
  createdAt: f(),
@@ -994,7 +996,7 @@ n({
994
996
  outOfBudget: d().optional().default(!1),
995
997
  outOfBudgetReason: i().optional().default("")
996
998
  }));
997
- var Bt = n({
999
+ var Ut = n({
998
1000
  id: i(),
999
1001
  name: i(),
1000
1002
  status: u(F),
@@ -1006,11 +1008,12 @@ var Bt = n({
1006
1008
  capabilities: n({
1007
1009
  fileUpload: Z,
1008
1010
  voice: It,
1009
- hostTools: me.optional(),
1010
- pageAccess: Ce.optional()
1011
+ hostTools: he.optional(),
1012
+ pageAccess: we.optional(),
1013
+ confirmations: Vt.optional()
1011
1014
  }),
1012
1015
  channels: c(u(Y)).default(() => [...Et])
1013
- }), Vt = X.pick({
1016
+ }), Wt = X.pick({
1014
1017
  logo: !0,
1015
1018
  mainColor: !0,
1016
1019
  textColor: !0,
@@ -1021,41 +1024,41 @@ var Bt = n({
1021
1024
  hideFloatingButton: !0,
1022
1025
  copilotPageCss: !0,
1023
1026
  customCss: !0
1024
- }), Ht = Bt.pick({
1027
+ }), Gt = Ut.pick({
1025
1028
  id: !0,
1026
1029
  name: !0,
1027
1030
  organizationId: !0
1028
- }).extend({ interface: Vt }), Ut = n({
1031
+ }).extend({ interface: Wt }), Kt = n({
1029
1032
  emailPassword: d(),
1030
1033
  google: d(),
1031
1034
  microsoft: d()
1032
- }), Wt = n({
1035
+ }), qt = n({
1033
1036
  requiresAuth: l(!1),
1034
- agent: Bt,
1037
+ agent: Ut,
1035
1038
  branding: r()
1036
- }), Gt = n({
1039
+ }), Jt = n({
1037
1040
  requiresAuth: l(!0),
1038
1041
  agent: r(),
1039
- branding: Ht
1042
+ branding: Gt
1040
1043
  });
1041
- p("requiresAuth", [Wt, Gt]);
1042
- var Kt = n({
1044
+ p("requiresAuth", [qt, Jt]);
1045
+ var Yt = n({
1043
1046
  frontendUrl: i().optional(),
1044
1047
  telemetry: n({
1045
1048
  environment: i(),
1046
1049
  samplingRate: s().min(0).max(1)
1047
1050
  }).nullable()
1048
- }), qt = n({
1049
- authMethods: Ut,
1050
- deploymentBranding: se.nullish(),
1051
- deployment: Kt.optional()
1051
+ }), Xt = n({
1052
+ authMethods: Kt,
1053
+ deploymentBranding: ce.nullish(),
1054
+ deployment: Yt.optional()
1052
1055
  });
1053
- p("requiresAuth", [Wt.extend(qt.shape), Gt.extend(qt.shape)]), n({
1056
+ p("requiresAuth", [qt.extend(Xt.shape), Jt.extend(Xt.shape)]), n({
1054
1057
  id: m(),
1055
1058
  limited: d(),
1056
1059
  agentIds: c(m())
1057
1060
  });
1058
- var Jt = n({
1061
+ var Zt = n({
1059
1062
  userId: m(),
1060
1063
  name: i(),
1061
1064
  email: i(),
@@ -1066,7 +1069,7 @@ var Jt = n({
1066
1069
  });
1067
1070
  n({
1068
1071
  id: m(),
1069
- members: c(Jt)
1072
+ members: c(Zt)
1070
1073
  }), n({
1071
1074
  id: m(),
1072
1075
  userIds: c(m())
@@ -1088,6 +1091,6 @@ n({
1088
1091
  ..._.fullText(),
1089
1092
  ..._.ids()
1090
1093
  });
1091
- export { Se as A, j as C, Oe as D, ke as E, ge as F, he as I, le as L, ye as M, _e as N, we as O, ue as P, g as R, Ot as S, Ae as T, mt as _, tt as a, ct as b, J as c, nt as d, At as f, Lt as g, lt as h, G as i, be as j, A as k, q as l, st as m, H as n, R as o, it as p, Q as r, U as s, rt as t, ot as u, jt as v, Fe as w, dt as x, at as y, _ as z };
1094
+ export { k as A, _ as B, Ot as C, ke as D, Ae as E, de as F, _e as I, ge as L, xe as M, be as N, Oe as O, ve as P, ue as R, dt as S, Fe as T, Rt as _, tt as a, at as b, J as c, Lt as d, nt as f, lt as g, st as h, G as i, Ce as j, Te as k, q as l, it as m, H as n, R as o, At as p, Q as r, U as s, rt as t, ot as u, mt as v, A as w, ct as x, jt as y, g as z };
1092
1095
 
1093
- //# sourceMappingURL=Agent-BBWFD4nI.js.map
1096
+ //# sourceMappingURL=Agent-DZhK49jg.js.map